<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统首页</title>
</head>
<body>
<c:if test="${sessionScope.username == null}" >
    <a href="${pageContext.request.contextPath}/Login.jsp">请登录</a>
</c:if>
<c:if test="${sessionScope.username != null}">
    <a href="${pageContext.request.contextPath}/addStudent.jsp">添加学生</a>
    <a href="${pageContext.request.contextPath}/ListStudentServlet">查看学生</a>
</c:if>
</body>
</html>
